//
//  AppController.h
//  iPing
//
//  Created by Aaron Hillegass on 11/5/07.
//  Copyright 2007 __MyCompanyName__. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import "StoryControllerView.h"
#import "StoryLibraryView.h"
#import "SGWindowController.h"
@class StoryController;
@interface AppController : NSObject {
    IBOutlet NSTextView		*outputView;
	IBOutlet NSBox			*box;
	IBOutlet NSTextView		*generalView;
	StoryController			*storyController;
	NSMutableArray			*viewControllers;
	BOOL running;
	SGWindowController		* myWindowController;
	NSPersistentStoreCoordinator *persistentStoreCoordinator;
    NSManagedObjectModel *managedObjectModel;
    NSManagedObjectContext *managedObjectContext;
	
}
- (void)prepareViewControllers;
- (IBAction)showLibrary:(id)pId;
- (IBAction)showGrabber:(id)pId;
- (IBAction)ShowStoryDownloader:(id)sender;
- (NSPersistentStoreCoordinator *)persistentStoreCoordinator;
- (NSManagedObjectModel *)managedObjectModel;
- (NSManagedObjectContext *)managedObjectContext;
- (void)ShowWhatever:(NSViewController *)vc;
@end
